
#ifndef __MAIN_H__
#define __MAIN_H__

#include "stdint.h"
#include "stdio.h"
#include "string.h"
#include "stdlib.h"

#include "LPC845.h"
#include "fsl_clock.h"
#include "fsl_common.h"
#include "fsl_gpio.h"
#include "fsl_iocon.h"
#include "fsl_swm.h"
#include "fsl_syscon.h"

#include "pt_thread.h"
#include "print_log.h"
#include "perf_counter.h"

#define     DbgConsole_Printf   printf

#define NR_MICRO_SHELL      1
#define LETTER_SHELL        2
#define UART_SHELL          NR_MICRO_SHELL


#define     LED0_PIN        GPIO, 0, (1u << 14)
#define     LED1_PIN        GPIO, 0, (1u << 29)
#define     LED2_PIN        GPIO, 0, (1u << 23)
#define     LED3_PIN        GPIO, 0, (1u << 30)
#define     LED4_PIN        GPIO, 0, (1u << 22)
#define     LED5_PIN        GPIO, 0, (1u << 21)
#define     LED6_PIN        GPIO, 0, (1u << 20)
#define     LED7_PIN        GPIO, 0, (1u << 19)
#define     LED8_PIN        GPIO, 0, (1u << 18)

#endif

